home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-19 | 1.9 KB | 74 lines | [TEXT/MPS ] |
- //# Copyright: © 1993-94 by Apple Computer, Inc., all rights reserved.
- #ifndef _FOCUSMOD_
- #define _FOCUSMOD_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //=====================================================================================
- // Classes defined in this interface
- //=====================================================================================
-
- interface ODFocusModule;
-
- //=====================================================================================
- // Classes used by this interface
- //=====================================================================================
-
- interface ODSession;
- interface ODFrame;
- interface ODFocusOwnerIterator;
-
- //=====================================================================================
- // Class ODFocusModule
- //=====================================================================================
-
- interface ODFocusModule : ODObject
- {
- void InitFocusModule(in ODSession session);
-
- ODBoolean IsFocusExclusive(in ODTypeToken focus);
-
- void SetFocusOwnership(in ODTypeToken focus,in ODFrame frame);
-
- void UnsetFocusOwnership(in ODTypeToken focus,in ODFrame frame);
-
- ODFrame GetFocusOwner(in ODTypeToken focus);
-
- ODFocusOwnerIterator CreateOwnerIterator(in ODTypeToken focus);
-
- ODBoolean BeginRelinquishFocus(in ODTypeToken focus,in
- ODFrame requestingFrame);
-
- void CommitRelinquishFocus(in ODTypeToken focus,in
- ODFrame requestingFrame);
-
- void AbortRelinquishFocus(in ODTypeToken focus,in
- ODFrame requestingFrame);
-
- #ifdef __SOMIDL__
- implementation
- {
- override:
- somInit,
- somUninit;
-
- releaseorder:
- InitFocusModule,
- IsFocusExclusive,
- SetFocusOwnership,
- UnsetFocusOwnership,
- GetFocusOwner,
- CreateOwnerIterator,
- BeginRelinquishFocus,
- CommitRelinquishFocus,
- AbortRelinquishFocus;
-
-
- };
- #endif
- };
-
- #endif //# _FOCUSMOD_
-